#pragma once

#include <wx/panel.h>
#include <wx/timer.h>

class LCD : public wxPanel {
  public:
    using wxPanel::wxPanel;
    void OnPaint(wxPaintEvent &event);
    void OnTimer(wxTimerEvent &event);
    void setNum(size_t n);

    static const int digit_H;
    static const int digit_W;
    static const int timerId;
    size_t num;

  private:
    DECLARE_EVENT_TABLE()
};



